package com.whu.dao;

import com.whu.pojo.Commodity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface CommodityRepository extends JpaRepository<Commodity,Long> {

    List<Commodity> findByCommodityName(String commodityName);



}
